package com.tdkj.service.information;

import java.util.List;
import java.util.Map;

import com.tdkj.model.information.BeanInfoReply;
import com.tdkj.model.information.BeanBaseInfo;
import com.tdkj.model.information.BeanModuleColumn;
import com.tdkj.model.user.BeanMessage;
import com.tdkj.model.user.BeanUser;
import com.tdkj.service.IBaseService;

public interface IBeanBaseInfoService extends IBaseService{
	BeanBaseInfo createBaseInfo(String title, Map<String, String> properties);
	void updateBaseInfo(long id, String title, Map<String, String> properties);
	void deleteBaseInfo(long id);
	void publishBaseInfo(long id);
	BeanBaseInfo getBaseInfo(long id);
	List<BeanModuleColumn> getColumns(String moduletype);
	List<BeanBaseInfo> getInfos(String moduletype,String columntype);
	BeanBaseInfo getClickTime(Long id);
	//BeanBaseInfo saveComment(Long id,String content);
	void addFriend(Long uId,Long fId);
	//发送消息
	void sendMsg2Friend(BeanMessage msg);
	void replyCommment(Long uId,Long cId,BeanInfoReply reply);
	List<BeanBaseInfo> setStatus(Long id);
	BeanBaseInfo saveComment(Long id, String content, BeanUser user);
}
